package com.aaa.controller;

import com.aaa.entity.PMS_Product;
import com.aaa.entity.PMS_Product_Category;
import com.aaa.service.PMS_ProductService;
import com.aaa.service.PMS_Product_CategoryService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("pms_product_category")
public class PMS_Product_CategoryController {
    @Resource
    PMS_Product_CategoryService pms_product_categoryService;

    @RequestMapping("list")
    public List<PMS_Product_Category> list() {
        return pms_product_categoryService.list();
    }
}


